<include file="Public/frame-header" />
</head>
<body class="J_scroll_fixed" style="min-width:800px;">
	<div class="wrap J_check_wrap">
		<ul class="nav nav-tabs">
		   <li class="active"><a href="{:U('Comments/index')}">评论详情</a></li>
		</ul>
		<div class="rightinfo">
			<table class="tablelist">
				<tr>
					<td>评论编号</td>
					<td>{$item.id}</td>
					</tr>
					<tr><th>手机号</th><td>{$item.mobile}</td></tr>
					<tr><th>评论者昵称</th><td>{$item.username}</td></tr>
					<tr><th>被评论者</th><td>{$item.beautician_name}</td></tr>
					<tr><th>订单编号</th><td>{$item.order_number}</td></tr>
					<tr><th>评论内容</th><td>{$item.content}</td></tr>
					<tr><th>评论时间</th><td >{$item.createtime|date="Y-m-d H:i:s",###}</td></tr>
				</tr>
			</table>
			
			<ul>
			<if condition="$photos">
				<foreach name="photos" item="photo">
					<li><img src="__UPLOADS__/Comment/{$photo.upload_number}/{$photo.img_name}"></li>
				</foreach>
			</if>
			</ul>
			
			<form class="J_ajaxForm" method="post">
				<input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$item.id}" checked=checked style="display:none;">
				<button class="btn btn-primary btn-small J_ajax_submit_btn" type="submit" 
					data-action="{:U('/Admin/Comments/delete')}" 
					data-subcheck="true" data-msg="你确定删除吗？">删除</button>
			</form>
		</div>
	</div>
	<script src="__ADMIN__/statics/js/common.js"></script>
</body>
</html>
